home *** CD-ROM | disk | FTP | other *** search
/ Exploring Where & Why / Exploring Where & Why.iso / pc / MODULES / LESSON01 / ACT01A / L01A2F.DIR / scripts_14_dragging.ls < prev    next >
Encoding:
Text File  |  2003-04-30  |  352 b   |  19 lines

  1. global gObj
  2.  
  3. on mouseEnter me
  4.   psmouseEnter(gObj, the currentSpriteNum)
  5. end
  6.  
  7. on mouseDown me
  8.   psMouseDown(gObj, the currentSpriteNum, the currentSpriteNum - 10)
  9. end
  10.  
  11. on mouseWithin me
  12.   psmouseWithin(gObj, the currentSpriteNum)
  13. end
  14.  
  15. on mouseUp me
  16.   if psmouseUp(gObj, the currentSpriteNum, "theFace", member(4, "theFace").name, 36) then
  17.   end if
  18. end
  19.